package com.google.code.stalkernet.advertisement;

import java.net.SocketAddress;

import com.google.code.stalkernet.node.NodeID;

/**
 * Stalker.Net node advertisement.
 *
 * @author Mikhail Vladimirov
 */
public interface Advertisement
{
    /**
     * Get address of the node.
     *
     * @return {@link SocketAddress} object
     */
    public SocketAddress getSocketAddress ();

    /**
     * Get ID of the node.
     *
     * @return {@link NodeID} object
     */
    public NodeID getNodeID ();
}
